####################################################################-# Project: Overdose prevention sites and public safety# Last modification: October 14, 2023# Author code: David Mitre Becerril
# Contact info: david.mitre@uconn.edu# Replication for the academic paper accepted at JAMA Network Open
####################################################################-

Notes:

- This research used R for doing the data processing and statistical analysis.

- Readers need to set the working directory to the Rscript file location to import/export all files successfully.

- This data repository has the following structure.
|-- Code
|-- Data
|---- Grid
|---- New York
|---- NYC_Police_Precincts
|-- Tables-Figures

- The raw files were not uploaded due to the repository data storage limitations. 

- To replicate the code from the raw data, readers need to download and store the raw files in the /Data/New York/ folder.

- The raw files kept their original name as declared in the R-script.

- The raw files are available online at https://data.cityofnewyork.us/, specifically:
https://data.cityofnewyork.us/Public-Safety/NYPD-Complaint-Data-Historic/qgea-i56i
https://data.cityofnewyork.us/Public-Safety/NYPD-Complaint-Data-Current-Year-To-Date-/5uac-w243
https://data.cityofnewyork.us/Public-Safety/NYPD-Arrests-Data-Historic-/8h9b-rp9uhttps://data.cityofnewyork.us/Public-Safety/NYPD-Arrest-Data-Year-to-Date-/uip8-fykc
https://data.cityofnewyork.us/Public-Safety/NYPD-Calls-for-Service-Historic-/d6zx-ckhdhttps://data.cityofnewyork.us/Public-Safety/NYPD-Calls-for-Service-Year-to-Date-/n2zq-pubd
https://data.cityofnewyork.us/Public-Safety/NYPD-Criminal-Court-Summons-Historic-/sv2w-rv3khttps://data.cityofnewyork.us/Public-Safety/NYPD-Criminal-Court-Summons-Incident-Level-Data-Ye/mv4k-y93f
https://data.cityofnewyork.us/Social-Services/311-Service-Requests-from-2010-to-Present/erm2-nwe9

